dimensions

fun dimensions(x: Int, y: Int, width: Int, height: Int): CustomButtonWidget.Builder

Sets the XY position and width/height of this widget. Defaults are position 0, 0 and 150w x 20h

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

x

horizontal position

y

vertical position

width

Int width in pixels

height

Int height in pixels